home *** CD-ROM | disk | FTP | other *** search
- At 09:52 AM 4/13/97 +1200, Laurie Curwood wrote:
- >Is there any way to get CLI arguments into AMOS???
- >
- >E.G. At a CLI, I type
- >
- >Run CoolProg RAM:Test
- >
- >Is there any way I can get "RAM:Test" into AMOS?
- >
- >I need to do it for both AMOSPro and AMOS Classic.
- >
-
- You can use the COMMAND LINE$ command in AMOSPro, and am not too sure if
- classic AMOs has it. When you compile and run, with this in the first line
-
- A$=Command Line$
- ... and your prog
-
-
- If you compiled and did:
-
- Run Program Ram:Test
-
- A$ would conatin the string Ram:Test
-
-
- You can also do anything after the command, and it will appear in A$.
-
- Hope this helps
-
- Mush
-
-
- --------******( Extreme AMOS )******--------
-
- The best AMOS homepages around, full of downloads, and my AMOS disk
- magazine. Order games and utilities directly from the library, for FREE.
-
- See my homepages at http://www.mushy-pd.demon.co.uk or
- http://members.tripod.com/~mushypd for more information.
-
- Email: mpd@mushy-pd.demon.co.uk mpd@computer4u.com
- mushy_pd@hotmail.com
-
- Look for Mush now on IPhone in AMOS!!
- ICQ No. - 778243 (talk to me!!)
-
-
-